﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DsThongKeBanMuaHang" targetNamespace="http://tempuri.org/DsThongKeBanMuaHang.xsd" xmlns:mstns="http://tempuri.org/DsThongKeBanMuaHang.xsd" xmlns="http://tempuri.org/DsThongKeBanMuaHang.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SieuThiSachConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SieuThiSachConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportTemplates.Properties.Settings.GlobalReference.Default.SieuThiSachConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ThongTinDoanhNghiepTableAdapter" GeneratorDataComponentClassName="ThongTinDoanhNghiepTableAdapter" Name="ThongTinDoanhNghiep" UserDataComponentName="ThongTinDoanhNghiepTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SieuThiSachConnectionString (Settings)" DbObjectName="SieuThiSach.dbo.Select_ThongTinDoanhNghiep" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_ThongTinDoanhNghiep</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TenDoanhNghiep" DataSetColumn="TenDoanhNghiep" />
              <Mapping SourceColumn="DiaChi" DataSetColumn="DiaChi" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KhoanMucThongKeBanMuaHangTableAdapter" GeneratorDataComponentClassName="KhoanMucThongKeBanMuaHangTableAdapter" Name="KhoanMucThongKeBanMuaHang" UserDataComponentName="KhoanMucThongKeBanMuaHangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SieuThiSachConnectionString (Settings)" DbObjectName="SieuThiSach.dbo.Select_KhoanMucThongKeBanMuaHang" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_KhoanMucThongKeBanMuaHang</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@NgayBatDau" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@NgayKetThuc" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NgayGhiSo" DataSetColumn="NgayGhiSo" />
              <Mapping SourceColumn="So" DataSetColumn="So" />
              <Mapping SourceColumn="Ngay" DataSetColumn="Ngay" />
              <Mapping SourceColumn="DienGiai" DataSetColumn="DienGiai" />
              <Mapping SourceColumn="SoTienBan" DataSetColumn="SoTienBan" />
              <Mapping SourceColumn="SoTienMua" DataSetColumn="SoTienMua" />
              <Mapping SourceColumn="ChenhLech" DataSetColumn="ChenhLech" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DsThongKeBanMuaHang" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="DsThongKeBanMuaHang" msprop:Generator_UserDSName="DsThongKeBanMuaHang" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ThongTinDoanhNghiep" msprop:Generator_UserTableName="ThongTinDoanhNghiep" msprop:Generator_RowDeletedName="ThongTinDoanhNghiepRowDeleted" msprop:Generator_TableClassName="ThongTinDoanhNghiepDataTable" msprop:Generator_RowChangedName="ThongTinDoanhNghiepRowChanged" msprop:Generator_RowClassName="ThongTinDoanhNghiepRow" msprop:Generator_RowChangingName="ThongTinDoanhNghiepRowChanging" msprop:Generator_RowEvArgName="ThongTinDoanhNghiepRowChangeEvent" msprop:Generator_RowEvHandlerName="ThongTinDoanhNghiepRowChangeEventHandler" msprop:Generator_TablePropName="ThongTinDoanhNghiep" msprop:Generator_TableVarName="tableThongTinDoanhNghiep" msprop:Generator_RowDeletingName="ThongTinDoanhNghiepRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenDoanhNghiep" msprop:Generator_UserColumnName="TenDoanhNghiep" msprop:Generator_ColumnPropNameInRow="TenDoanhNghiep" msprop:Generator_ColumnVarNameInTable="columnTenDoanhNghiep" msprop:Generator_ColumnPropNameInTable="TenDoanhNghiepColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DiaChi" msprop:Generator_UserColumnName="DiaChi" msprop:Generator_ColumnPropNameInRow="DiaChi" msprop:Generator_ColumnVarNameInTable="columnDiaChi" msprop:Generator_ColumnPropNameInTable="DiaChiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="KhoanMucThongKeBanMuaHang" msprop:Generator_UserTableName="KhoanMucThongKeBanMuaHang" msprop:Generator_RowDeletedName="KhoanMucThongKeBanMuaHangRowDeleted" msprop:Generator_TableClassName="KhoanMucThongKeBanMuaHangDataTable" msprop:Generator_RowChangedName="KhoanMucThongKeBanMuaHangRowChanged" msprop:Generator_RowClassName="KhoanMucThongKeBanMuaHangRow" msprop:Generator_RowChangingName="KhoanMucThongKeBanMuaHangRowChanging" msprop:Generator_RowEvArgName="KhoanMucThongKeBanMuaHangRowChangeEvent" msprop:Generator_RowEvHandlerName="KhoanMucThongKeBanMuaHangRowChangeEventHandler" msprop:Generator_TablePropName="KhoanMucThongKeBanMuaHang" msprop:Generator_TableVarName="tableKhoanMucThongKeBanMuaHang" msprop:Generator_RowDeletingName="KhoanMucThongKeBanMuaHangRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NgayGhiSo" msdata:ReadOnly="true" msprop:Generator_UserColumnName="NgayGhiSo" msprop:Generator_ColumnPropNameInRow="NgayGhiSo" msprop:Generator_ColumnVarNameInTable="columnNgayGhiSo" msprop:Generator_ColumnPropNameInTable="NgayGhiSoColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="So" msdata:ReadOnly="true" msprop:Generator_UserColumnName="So" msprop:Generator_ColumnPropNameInRow="So" msprop:Generator_ColumnVarNameInTable="columnSo" msprop:Generator_ColumnPropNameInTable="SoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Ngay" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Ngay" msprop:Generator_ColumnPropNameInRow="Ngay" msprop:Generator_ColumnVarNameInTable="columnNgay" msprop:Generator_ColumnPropNameInTable="NgayColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DienGiai" msdata:ReadOnly="true" msprop:Generator_UserColumnName="DienGiai" msprop:Generator_ColumnPropNameInRow="DienGiai" msprop:Generator_ColumnVarNameInTable="columnDienGiai" msprop:Generator_ColumnPropNameInTable="DienGiaiColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SoTienBan" msdata:ReadOnly="true" msprop:Generator_UserColumnName="SoTienBan" msprop:Generator_ColumnPropNameInRow="SoTienBan" msprop:Generator_ColumnVarNameInTable="columnSoTienBan" msprop:Generator_ColumnPropNameInTable="SoTienBanColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="SoTienMua" msdata:ReadOnly="true" msprop:Generator_UserColumnName="SoTienMua" msprop:Generator_ColumnPropNameInRow="SoTienMua" msprop:Generator_ColumnVarNameInTable="columnSoTienMua" msprop:Generator_ColumnPropNameInTable="SoTienMuaColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ChenhLech" msdata:ReadOnly="true" msprop:Generator_UserColumnName="ChenhLech" msprop:Generator_ColumnPropNameInRow="ChenhLech" msprop:Generator_ColumnVarNameInTable="columnChenhLech" msprop:Generator_ColumnPropNameInTable="ChenhLechColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ChiTietThongKeBanMuaHang" msprop:Generator_UserTableName="ChiTietThongKeBanMuaHang" msprop:Generator_RowDeletedName="ChiTietThongKeBanMuaHangRowDeleted" msprop:Generator_TableClassName="ChiTietThongKeBanMuaHangDataTable" msprop:Generator_RowChangedName="ChiTietThongKeBanMuaHangRowChanged" msprop:Generator_RowClassName="ChiTietThongKeBanMuaHangRow" msprop:Generator_RowChangingName="ChiTietThongKeBanMuaHangRowChanging" msprop:Generator_RowEvArgName="ChiTietThongKeBanMuaHangRowChangeEvent" msprop:Generator_RowEvHandlerName="ChiTietThongKeBanMuaHangRowChangeEventHandler" msprop:Generator_TablePropName="ChiTietThongKeBanMuaHang" msprop:Generator_TableVarName="tableChiTietThongKeBanMuaHang" msprop:Generator_RowDeletingName="ChiTietThongKeBanMuaHangRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="KyBaoCao" msprop:Generator_UserColumnName="KyBaoCao" msprop:Generator_ColumnPropNameInRow="KyBaoCao" msprop:Generator_ColumnVarNameInTable="columnKyBaoCao" msprop:Generator_ColumnPropNameInTable="KyBaoCaoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="DoiTuongNghiepVu" msprop:Generator_UserColumnName="DoiTuongNghiepVu" msprop:Generator_ColumnPropNameInRow="DoiTuongNghiepVu" msprop:Generator_ColumnVarNameInTable="columnDoiTuongNghiepVu" msprop:Generator_ColumnPropNameInTable="DoiTuongNghiepVuColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>